const nav_img_black = 'https://witty6.oss-cn-beijing.aliyuncs.com/demo/64241692603437_.pic.jpg'
Page({
  data: {
    nav_show:true,
    nav_title:'秉华健康-健康数据管家',
    fontColor:'#333333',
    nav_img:nav_img_black
  },

    onChange() {
      console.log("1111");
    },
    To_connect_account(){
      wx.navigateTo({ url: '../connect_account/connect_account'})
    },
    To_navigation(){
      wx.navigateTo({ url: '../navigation/navigation'})
    },
    To_contact_us(){
      wx.navigateTo({ url: '../contact_us/contact_us'})
    },
    To_agree_policy(e){
      console.log("cool")
      console.log(e.currentTarget.dataset.navigatename)
      let navigatename = e.currentTarget.dataset.navigatename
      console.log(navigatename)
      wx.navigateTo({ url: '../agree_policy/agree_policy?name='+ navigatename})
    },
    To_about_us(){
      wx.navigateTo({ url: '../about_us/about_us'})
    },



  
});